package com.ldzy;

public class JDKTest {
    public  static  void  main(String[] arge){
        MyProxy myProxy=new MyProxy();
        UserDao userDao=new UserDaoImpl();
        UserDao userDao1=(UserDao)myProxy.createProxy(userDao);
        userDao1.addUser();
        userDao1.deltUser();
    }
}
